package com.veer.shop.pojo;

import java.util.List;

/**
 * 列表返回结构 PoJo
 * 
 * @author WangBin
 * 2020年11月8日-下午4:52:53
 * @param <T>
 */
public class ResponseList<T> {
	public Long count; // 总记录数
	public List<T> list; // 分页后的列表
	
	public ResponseList(Long total, List<T> data) {
		this.count = total;
		this.list = data;
	}
	
	public Long getCount() {
		return count;
	}
	public void setCount(Long count) {
		this.count = count;
	}
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> data) {
		this.list = data;
	}
}
